/**
 * Project oo_thread
 */


#ifndef _MYTASK_H
#define _MYTASK_H

#include "Task.h"
#include "TcpConnection.h"

class MyTask: public Task {
public: 
MyTask(const string msg, TcpConnectionPtr conn);
void process();
private:
    const string _msg;
    TcpConnectionPtr _conn;
};

#endif //_MYTASK_H
